<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    :root {
      color-scheme: light;
    }
    .derk {
      color-scheme: dark;
      
    }
  </style>
</head>
<body>
  <h1>记得发货</h1>
  <select onclick="select(event)">
    <option value="light">高亮</option>
    <option value="derk">高亮</option>
  </select>
  <p>你等会儿加分的考生你看安康都能看多看看的哪款那得看南科大阿里搭理你扣篮看看那块你看看卡的内裤那块那得看看看你打开弄得</p>
  <p style="color: pink;">北京部分的基本数据的脚本骄傲的吧</p>
</body>
<script>  
  const root = document.querySelector(':root')
  function select(e) {
    const { value } = e.target
    root.setAttribute('class', '')
    root.classList.add(value)
  }
</script>
</html>